/*
 * @Date: 2023-03-10 14:43:48
 * @LastEditors: Zireael 1193875164@qq.com
 * @LastEditTime: 2023-03-24 15:03:35
 * @FilePath: \A19\backend\src\shared\protocols\Get\PtlGetCourseStus.ts
 */
import { BaseRequest, BaseResponse, BaseConf } from "../base";
import { users } from "../../types/user";
import { ObjectId } from "mongodb";

export interface ReqGetCourseStus extends BaseRequest {
  course: ObjectId;
}

export interface ResGetCourseStus extends BaseResponse {
  stus: {
    _id:ObjectId,
    student:users[],
    course:ObjectId
  }[];
}

export const conf: BaseConf = {
  needLogin: true,
};
